//
//  MineApi.h
//  Api
//
//  Created by CPX on 2018/7/23.
//  Copyright © 2018年 CPX. All rights reserved.
//

#import "BaseApi.h"

/**
 我的页面接口
 @author yzl
 */
@interface MineApi : BaseApi

+ (void)registerWith:(NSString*)email pwd:(NSString*)pwd code:(NSString*)code success:(Success)success failure:(Failure)failure;

+ (void)sendCheckCode:(NSString*)email success:(Success)success failure:(Failure)failure;

+ (void)loginWith:(NSString*)email pwd:(NSString*)pwd success:(Success)success failure:(Failure)failure;

+ (void)resetPwdWith:(NSString*)email pwd:(NSString*)pwd code:(NSString*)code success:(Success)success failure:(Failure)failure;

+ (void)FBCreateUser:(NSString*)fbToken success:(Success)success failure:(Failure)failure;

+ (void)updateUsername:(NSString*)username portraint:(UIImage*)portrait success:(Success)success failure:(Failure)failure;

+ (void)registerToken:(NSString*)token deviceId:(NSString*)deviceId;

@end
